How can I get the number of the columns in the DBE ListView? Or How can I delete all columns in the DBE ListView? |
Re: Columns Numbers in ListView Another trick I used once was to store the value of a column, set the contents of the column to a dummy value and then compare the contents of the column to the dummy value. If the column exists the value will have been set. If the column does not exist, then the value will not have been set. Afterwards restore the old value. If you try this for column 1,2,3,... you will find one where the value could not been set. This is your column count. Regards, Mathias |